#pragma once
#include "ckobject.h"
#include "zCore.h"
#include <vector>
#include <string>

namespace ck
{
	namespace check
	{
		class CheckResultItem;

		class ZCORE_API CheckResult : public ckObject
		{
		public:
			CheckResult();
			virtual ~CheckResult();
		public:
			RESULTCODE		 AddItem(CheckResultItem* pItem);
			z_uint32		 GetCount();
			CheckResultItem* GetItem(z_uint32 i);

			void			SetOperator(const char* szName);
			const char*		GetOperator();

		private:
			std::vector<CheckResultItem*> m_items;
			std::string m_strOperName;
		};

	}
}